package com.breeze.mvxdemo.mvp;

import com.breeze.mvxdemo.bean.Account;
import com.breeze.mvxdemo.callbacks.AccountCallback;

public class MVPContract {
    public interface IMVPView {
        void showSuccessPage(Account account);

        void showFailedPage();
    }

    public interface IMVPPresenter {
        void getAccountData(String accountName);
    }

    public interface IMVPModel {
        void getAccountData(String accountName, AccountCallback callback);
    }
}
